package Assignment.Test4;

public class Test {
    public static void main(String[] args) {
        //创建学生类
        Student student = new Student("张三","男",24,"中国","001","湖科");
        student.work();

        //创建工人类
        Worker worker = new Worker("李四","男",28,"中国","芯知",3);
        worker.work();

        //创建学生干部类
        StudentLeader studentLeader = new StudentLeader("王五","男",23,"中国","002","湖科","文艺委员");
        studentLeader.meeting();
    }
}
